<?php
class UserRealWidget extends Widget {
	function render($data){
		//print_r($data);
		$user_id=getMemberId();
		$m=M("User");
		if(isset($data['field'])){
			$m->find($user_id);
			return $m->$data['field'];
		}
	}
}